package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 巡查对象 sys_patrol
 * 
 * @author jjp
 * @date 2020-03-29
 */
public class SysPatrol extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long patrolId;

    /** 用户id */
    private Long userId;

    /** 巡查类型 */
    private String patrolType;

    public void setPatrolId(Long patrolId) 
    {
        this.patrolId = patrolId;
    }

    public Long getPatrolId() 
    {
        return patrolId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPatrolType(String patrolType) 
    {
        this.patrolType = patrolType;
    }

    public String getPatrolType() 
    {
        return patrolType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patrolId", getPatrolId())
            .append("userId", getUserId())
            .append("patrolType", getPatrolType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
